<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::face::LBPHFaceRecognizer Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d4/d48/namespacecv_1_1face.html">face</a></li><li class="navelem"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html">LBPHFaceRecognizer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="../../da/dc6/classcv_1_1face_1_1LBPHFaceRecognizer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::face::LBPHFaceRecognizer Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="../../db/d7c/group__face.html">Face Analysis</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;opencv2/face/facerec.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::face::LBPHFaceRecognizer:</div>
<div class="dyncontent">
 <div class="center">
  <img alt="" src="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.png" usemap="#cv::face::LBPHFaceRecognizer_map"/>
  <map id="cv::face::LBPHFaceRecognizer_map" name="cv::face::LBPHFaceRecognizer_map">
<area alt="cv::face::FaceRecognizer" coords="0,56,188,80" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html" shape="rect" title="Abstract base class for all face recognition models. "/>
<area alt="cv::Algorithm" coords="0,0,188,24" href="../../d3/d46/classcv_1_1Algorithm.html" shape="rect" title="This is a base class for all more or less complex algorithms in OpenCV. "/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ada6839bed931a8f68c5127e1af7a8b83"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ada6839bed931a8f68c5127e1af7a8b83">getGridX</a> () const =0</td></tr>
<tr class="separator:ada6839bed931a8f68c5127e1af7a8b83"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a22c68c0baf3eb9e852f47ae9241dbf15"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a22c68c0baf3eb9e852f47ae9241dbf15">getGridY</a> () const =0</td></tr>
<tr class="separator:a22c68c0baf3eb9e852f47ae9241dbf15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a176e5ec6a9b196d4ed575c60a5f29356"><td align="right" class="memItemLeft" valign="top">virtual std::vector&lt; <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a176e5ec6a9b196d4ed575c60a5f29356">getHistograms</a> () const =0</td></tr>
<tr class="separator:a176e5ec6a9b196d4ed575c60a5f29356"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e60ba3d8257dde9c494fe5b444ee449"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a6e60ba3d8257dde9c494fe5b444ee449">getLabels</a> () const =0</td></tr>
<tr class="separator:a6e60ba3d8257dde9c494fe5b444ee449"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a50a3e2ca6e8464166e153c9df84b0a77"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a50a3e2ca6e8464166e153c9df84b0a77">getNeighbors</a> () const =0</td></tr>
<tr class="separator:a50a3e2ca6e8464166e153c9df84b0a77"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abd508c1c89c53c181da13bb138da6eb2"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#abd508c1c89c53c181da13bb138da6eb2">getRadius</a> () const =0</td></tr>
<tr class="separator:abd508c1c89c53c181da13bb138da6eb2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acf2a6993eb4347b3f89009da693a3f70"><td align="right" class="memItemLeft" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#acf2a6993eb4347b3f89009da693a3f70">getThreshold</a> () const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="separator:acf2a6993eb4347b3f89009da693a3f70"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad65975baee31dbf3bd2a750feef74831"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ad65975baee31dbf3bd2a750feef74831">setGridX</a> (int val)=0</td></tr>
<tr class="separator:ad65975baee31dbf3bd2a750feef74831"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9cebb0138dbb3553b27beb2df3924ae6"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a9cebb0138dbb3553b27beb2df3924ae6">setGridY</a> (int val)=0</td></tr>
<tr class="separator:a9cebb0138dbb3553b27beb2df3924ae6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab225f7bf353ce8697a506eda10124a92"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ab225f7bf353ce8697a506eda10124a92">setNeighbors</a> (int val)=0</td></tr>
<tr class="separator:ab225f7bf353ce8697a506eda10124a92"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62d94c75cade902fd3b487b1ef9883fc"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a62d94c75cade902fd3b487b1ef9883fc">setRadius</a> (int val)=0</td></tr>
<tr class="separator:a62d94c75cade902fd3b487b1ef9883fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b4903dcfaa98192784a41b299360b5c"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a4b4903dcfaa98192784a41b299360b5c">setThreshold</a> (double val) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="separator:a4b4903dcfaa98192784a41b299360b5c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1face_1_1FaceRecognizer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1face_1_1FaceRecognizer')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html">cv::face::FaceRecognizer</a></td></tr>
<tr class="memitem:aa60dc36e03135d32b94deaf1bad873f3 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#aa60dc36e03135d32b94deaf1bad873f3">empty</a> () const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="separator:aa60dc36e03135d32b94deaf1bad873f3 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa51b8afce8ffe8b77c26f15be27b930d inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#aa51b8afce8ffe8b77c26f15be27b930d">getLabelInfo</a> (int label) const</td></tr>
<tr class="memdesc:aa51b8afce8ffe8b77c26f15be27b930d inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="mdescLeft"> </td><td class="mdescRight">Gets string information by label.  <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#aa51b8afce8ffe8b77c26f15be27b930d">More...</a><br/></td></tr>
<tr class="separator:aa51b8afce8ffe8b77c26f15be27b930d inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a68e818dcdadba76574a597db49b233ce inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual std::vector&lt; int &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a68e818dcdadba76574a597db49b233ce">getLabelsByString</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;str) const</td></tr>
<tr class="memdesc:a68e818dcdadba76574a597db49b233ce inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="mdescLeft"> </td><td class="mdescRight">Gets vector of labels by string.  <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a68e818dcdadba76574a597db49b233ce">More...</a><br/></td></tr>
<tr class="separator:a68e818dcdadba76574a597db49b233ce inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa2d2f02faffab1bf01317ae6502fb631 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#aa2d2f02faffab1bf01317ae6502fb631">predict</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src) const</td></tr>
<tr class="separator:aa2d2f02faffab1bf01317ae6502fb631 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0d593e53ebd9a0f350c989fcac7f251 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#ab0d593e53ebd9a0f350c989fcac7f251">predict</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src, int &amp;label, double &amp;confidence) const</td></tr>
<tr class="memdesc:ab0d593e53ebd9a0f350c989fcac7f251 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="mdescLeft"> </td><td class="mdescRight">Predicts a label and associated confidence (e.g. distance) for a given input image.  <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#ab0d593e53ebd9a0f350c989fcac7f251">More...</a><br/></td></tr>
<tr class="separator:ab0d593e53ebd9a0f350c989fcac7f251 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc5af8e603b525e9cdc6b3ddcd7cf83f inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#afc5af8e603b525e9cdc6b3ddcd7cf83f">predict</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> src, <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../da/d6a/classcv_1_1face_1_1PredictCollector.html">PredictCollector</a> &gt; collector) const =0</td></tr>
<tr class="memdesc:afc5af8e603b525e9cdc6b3ddcd7cf83f inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="mdescLeft"> </td><td class="mdescRight"><ul>
<li>if implemented - send all result of prediction to collector that can be used for somehow custom result handling </li>
</ul>
 <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#afc5af8e603b525e9cdc6b3ddcd7cf83f">More...</a><br/></td></tr>
<tr class="separator:afc5af8e603b525e9cdc6b3ddcd7cf83f inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acc42e5b04595dba71f0777c7179af8c3 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#acc42e5b04595dba71f0777c7179af8c3">read</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename)</td></tr>
<tr class="memdesc:acc42e5b04595dba71f0777c7179af8c3 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="mdescLeft"> </td><td class="mdescRight">Loads a <a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html" title="Abstract base class for all face recognition models. ">FaceRecognizer</a> and its model state.  <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#acc42e5b04595dba71f0777c7179af8c3">More...</a><br/></td></tr>
<tr class="separator:acc42e5b04595dba71f0777c7179af8c3 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6ce52a3c8941aaa3cd09c31d6a6ef192 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a6ce52a3c8941aaa3cd09c31d6a6ef192">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn) <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="separator:a6ce52a3c8941aaa3cd09c31d6a6ef192 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabcb47adcddd719974681b2b7309d656 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#aabcb47adcddd719974681b2b7309d656">setLabelInfo</a> (int label, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;strInfo)</td></tr>
<tr class="memdesc:aabcb47adcddd719974681b2b7309d656 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="mdescLeft"> </td><td class="mdescRight">Sets string info for the specified model's label.  <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#aabcb47adcddd719974681b2b7309d656">More...</a><br/></td></tr>
<tr class="separator:aabcb47adcddd719974681b2b7309d656 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8680c2aa9649ad3f55e27761165c0d6 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#ac8680c2aa9649ad3f55e27761165c0d6">train</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> src, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> labels)=0</td></tr>
<tr class="memdesc:ac8680c2aa9649ad3f55e27761165c0d6 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="mdescLeft"> </td><td class="mdescRight">Trains a <a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html" title="Abstract base class for all face recognition models. ">FaceRecognizer</a> with given data and associated labels.  <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#ac8680c2aa9649ad3f55e27761165c0d6">More...</a><br/></td></tr>
<tr class="separator:ac8680c2aa9649ad3f55e27761165c0d6 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8a4e73ea878dcd0c235d0487189d25f3 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a8a4e73ea878dcd0c235d0487189d25f3">update</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga606feabe3b50ab6838f1ba89727aa07a">InputArrayOfArrays</a> src, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> labels)</td></tr>
<tr class="memdesc:a8a4e73ea878dcd0c235d0487189d25f3 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="mdescLeft"> </td><td class="mdescRight">Updates a <a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html" title="Abstract base class for all face recognition models. ">FaceRecognizer</a> with given data and associated labels.  <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a8a4e73ea878dcd0c235d0487189d25f3">More...</a><br/></td></tr>
<tr class="separator:a8a4e73ea878dcd0c235d0487189d25f3 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2adf2d555550194244b05c91fefcb4d6 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a2adf2d555550194244b05c91fefcb4d6">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename) const</td></tr>
<tr class="memdesc:a2adf2d555550194244b05c91fefcb4d6 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="mdescLeft"> </td><td class="mdescRight">Saves a <a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html" title="Abstract base class for all face recognition models. ">FaceRecognizer</a> and its model state.  <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a2adf2d555550194244b05c91fefcb4d6">More...</a><br/></td></tr>
<tr class="separator:a2adf2d555550194244b05c91fefcb4d6 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4756dbf9b97408ba5f3677296c3a1695 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a4756dbf9b97408ba5f3677296c3a1695">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs) const <a class="el" href="../../db/de0/group__core__utils.html#ga4d89d63e402ef9ddc48e18e21180fe4a">CV_OVERRIDE</a>=0</td></tr>
<tr class="separator:a4756dbf9b97408ba5f3677296c3a1695 inherit pub_methods_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a827c8b2781ed17574805f373e6054ff1">Algorithm</a> ()</td></tr>
<tr class="separator:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a8ae826127fa0f1f8d10a24841bd376f8">~Algorithm</a> ()</td></tr>
<tr class="separator:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#aec9c965448e4dc851d7cacd3abd84cd1">clear</a> ()</td></tr>
<tr class="memdesc:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Clears the algorithm state.  <a href="../../d3/d46/classcv_1_1Algorithm.html#aec9c965448e4dc851d7cacd3abd84cd1">More...</a><br/></td></tr>
<tr class="separator:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a286fc82744ccab3d248aca44524266a9">getDefaultName</a> () const</td></tr>
<tr class="separator:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a0a880744bc4e3f45711444571df47d67">save</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename) const</td></tr>
<tr class="separator:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &gt; &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()) const</td></tr>
<tr class="memdesc:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">More...</a><br/></td></tr>
<tr class="separator:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac33ba992b16f29f2824761cea5cd5fc5"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html">LBPHFaceRecognizer</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ac33ba992b16f29f2824761cea5cd5fc5">create</a> (int radius=1, int neighbors=8, int grid_x=8, int grid_y=8, double <a class="el" href="../../d7/d1b/group__imgproc__misc.html#gae8a4a146d1ca78c626a53577199e9c57">threshold</a>=DBL_MAX)</td></tr>
<tr class="separator:ac33ba992b16f29f2824761cea5cd5fc5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_static_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Static Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">load</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from the file.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">More...</a><br/></td></tr>
<tr class="separator:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">loadFromString</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;strModel, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from a String.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">More...</a><br/></td></tr>
<tr class="separator:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn)</td></tr>
<tr class="memdesc:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Reads algorithm from the file node.  <a href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">More...</a><br/></td></tr>
<tr class="separator:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Protected Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a68eeca71617474ad3d4561786f0289d2">writeFormat</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs) const</td></tr>
<tr class="separator:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classcv_1_1face_1_1FaceRecognizer"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcv_1_1face_1_1FaceRecognizer')"><img alt="-" src="../../closed.png"/> Protected Attributes inherited from <a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html">cv::face::FaceRecognizer</a></td></tr>
<tr class="memitem:aa24774c798eb4d682d8ee10dbf9c8c45 inherit pro_attribs_classcv_1_1face_1_1FaceRecognizer"><td align="right" class="memItemLeft" valign="top">std::map&lt; int, <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#aa24774c798eb4d682d8ee10dbf9c8c45">_labelsInfo</a></td></tr>
<tr class="separator:aa24774c798eb4d682d8ee10dbf9c8c45 inherit pro_attribs_classcv_1_1face_1_1FaceRecognizer"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac33ba992b16f29f2824761cea5cd5fc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac33ba992b16f29f2824761cea5cd5fc5">◆ </a></span>create()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html">LBPHFaceRecognizer</a>&gt; cv::face::LBPHFaceRecognizer::create </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>radius</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>neighbors</em> = <code>8</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>grid_x</em> = <code>8</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>grid_y</em> = <code>8</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>threshold</em> = <code>DBL_MAX</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face.LBPHFaceRecognizer_create(</td><td class="paramname">[, radius[, neighbors[, grid_x[, grid_y[, threshold]]]]]</td><td>)</td></tr></table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">radius</td><td>The radius used for building the Circular Local Binary Pattern. The greater the radius, the smoother the image but more spatial information you can get. </td></tr>
    <tr><td class="paramname">neighbors</td><td>The number of sample points to build a Circular Local Binary Pattern from. An appropriate value is to use <code>8</code> sample points. Keep in mind: the more sample points you include, the higher the computational cost. </td></tr>
    <tr><td class="paramname">grid_x</td><td>The number of cells in the horizontal direction, 8 is a common value used in publications. The more cells, the finer the grid, the higher the dimensionality of the resulting feature vector. </td></tr>
    <tr><td class="paramname">grid_y</td><td>The number of cells in the vertical direction, 8 is a common value used in publications. The more cells, the finer the grid, the higher the dimensionality of the resulting feature vector. </td></tr>
    <tr><td class="paramname">threshold</td><td>The threshold applied in the prediction. If the distance to the nearest neighbor is larger than the threshold, this method returns -1.</td></tr>
  </table>
  </dd>
</dl>
<h3>Notes:</h3>
<ul>
<li>The Circular Local Binary Patterns (used in training and prediction) expect the data given as grayscale images, use cvtColor to convert between the color spaces.</li>
<li>This model supports updating.</li>
</ul>
<h3>Model internal data:</h3>
<ul>
<li>radius see <a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ac33ba992b16f29f2824761cea5cd5fc5">LBPHFaceRecognizer::create</a>.</li>
<li>neighbors see <a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ac33ba992b16f29f2824761cea5cd5fc5">LBPHFaceRecognizer::create</a>.</li>
<li>grid_x see LLBPHFaceRecognizer::create.</li>
<li>grid_y see <a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ac33ba992b16f29f2824761cea5cd5fc5">LBPHFaceRecognizer::create</a>.</li>
<li>threshold see <a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ac33ba992b16f29f2824761cea5cd5fc5">LBPHFaceRecognizer::create</a>.</li>
<li>histograms Local Binary Patterns Histograms calculated from the given training data (empty if none was given).</li>
<li>labels Labels corresponding to the calculated Local Binary Patterns Histograms. </li>
</ul>
</div>
</div>
<a id="ada6839bed931a8f68c5127e1af7a8b83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada6839bed931a8f68c5127e1af7a8b83">◆ </a></span>getGridX()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::face::LBPHFaceRecognizer::getGridX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face_LBPHFaceRecognizer.getGridX(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ad65975baee31dbf3bd2a750feef74831">setGridX</a> </dd></dl>
</div>
</div>
<a id="a22c68c0baf3eb9e852f47ae9241dbf15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22c68c0baf3eb9e852f47ae9241dbf15">◆ </a></span>getGridY()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::face::LBPHFaceRecognizer::getGridY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face_LBPHFaceRecognizer.getGridY(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a9cebb0138dbb3553b27beb2df3924ae6">setGridY</a> </dd></dl>
</div>
</div>
<a id="a176e5ec6a9b196d4ed575c60a5f29356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a176e5ec6a9b196d4ed575c60a5f29356">◆ </a></span>getHistograms()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::vector&lt;<a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a>&gt; cv::face::LBPHFaceRecognizer::getHistograms </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face_LBPHFaceRecognizer.getHistograms(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a6e60ba3d8257dde9c494fe5b444ee449"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e60ba3d8257dde9c494fe5b444ee449">◆ </a></span>getLabels()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d3/d63/classcv_1_1Mat.html">cv::Mat</a> cv::face::LBPHFaceRecognizer::getLabels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face_LBPHFaceRecognizer.getLabels(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a50a3e2ca6e8464166e153c9df84b0a77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50a3e2ca6e8464166e153c9df84b0a77">◆ </a></span>getNeighbors()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::face::LBPHFaceRecognizer::getNeighbors </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face_LBPHFaceRecognizer.getNeighbors(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ab225f7bf353ce8697a506eda10124a92">setNeighbors</a> </dd></dl>
</div>
</div>
<a id="abd508c1c89c53c181da13bb138da6eb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd508c1c89c53c181da13bb138da6eb2">◆ </a></span>getRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::face::LBPHFaceRecognizer::getRadius </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face_LBPHFaceRecognizer.getRadius(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a62d94c75cade902fd3b487b1ef9883fc">setRadius</a> </dd></dl>
</div>
</div>
<a id="acf2a6993eb4347b3f89009da693a3f70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf2a6993eb4347b3f89009da693a3f70">◆ </a></span>getThreshold()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual double cv::face::LBPHFaceRecognizer::getThreshold </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face_LBPHFaceRecognizer.getThreshold(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a4b4903dcfaa98192784a41b299360b5c">setThreshold</a> </dd></dl>
<p>Implements <a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#ad0ce3ced9c89b5aca528e8490dc18969">cv::face::FaceRecognizer</a>.</p>
</div>
</div>
<a id="ad65975baee31dbf3bd2a750feef74831"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad65975baee31dbf3bd2a750feef74831">◆ </a></span>setGridX()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::face::LBPHFaceRecognizer::setGridX </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.face_LBPHFaceRecognizer.setGridX(</td><td class="paramname">val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#ada6839bed931a8f68c5127e1af7a8b83">getGridX</a> </dd></dl>
</div>
</div>
<a id="a9cebb0138dbb3553b27beb2df3924ae6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cebb0138dbb3553b27beb2df3924ae6">◆ </a></span>setGridY()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::face::LBPHFaceRecognizer::setGridY </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.face_LBPHFaceRecognizer.setGridY(</td><td class="paramname">val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a22c68c0baf3eb9e852f47ae9241dbf15">getGridY</a> </dd></dl>
</div>
</div>
<a id="ab225f7bf353ce8697a506eda10124a92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab225f7bf353ce8697a506eda10124a92">◆ </a></span>setNeighbors()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::face::LBPHFaceRecognizer::setNeighbors </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.face_LBPHFaceRecognizer.setNeighbors(</td><td class="paramname">val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#a50a3e2ca6e8464166e153c9df84b0a77">getNeighbors</a> </dd></dl>
</div>
</div>
<a id="a62d94c75cade902fd3b487b1ef9883fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62d94c75cade902fd3b487b1ef9883fc">◆ </a></span>setRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::face::LBPHFaceRecognizer::setRadius </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.face_LBPHFaceRecognizer.setRadius(</td><td class="paramname">val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#abd508c1c89c53c181da13bb138da6eb2">getRadius</a> </dd></dl>
</div>
</div>
<a id="a4b4903dcfaa98192784a41b299360b5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b4903dcfaa98192784a41b299360b5c">◆ </a></span>setThreshold()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::face::LBPHFaceRecognizer::setThreshold </td>
          <td>(</td>
          <td class="paramtype">double </td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.face_LBPHFaceRecognizer.setThreshold(</td><td class="paramname">val</td><td>)</td></tr></table>
</div><div class="memdoc">
<p></p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html#acf2a6993eb4347b3f89009da693a3f70">getThreshold</a> </dd></dl>
<p>Implements <a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#a3182081e5f8023e658ad8ab96656dd63">cv::face::FaceRecognizer</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/face/<a class="el" href="../../dd/d81/facerec_8hpp.html">facerec.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:47 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
